package com.iretailer.report.mapper;

import com.iretailer.report.base.SuperMapper;
import com.iretailer.report.model.Weathers;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Auther: xjw
 * @Date: 2019/1/21 13:30
 * @Description:
 */
public interface WeatherMapper extends SuperMapper<Weathers> {

    List<Weathers> selectAllWeathers();

    int replaceWeather(@Param("weathers") List<Weathers> weathers);

    List<Weathers> selectWeathersBy_cityId_dates(@Param("cityId") String cityId, @Param("startDate") String startDate, @Param("endDate") String endDate);
}
